package com.jiaozi.core.security.pojo.login;

import com.alibaba.fastjson.annotation.JSONField;
import com.jiaozi.system.enums.MenuTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
@NoArgsConstructor
@AllArgsConstructor
@Data
@Schema(name = "用户菜单信息",description = "用户菜单信息")
public class LuMenuVO {

    @Schema(description = "菜单主键")
    private String menuId;
    @Schema(description = "菜单名称")
    private String menuName;
    //菜单类型
    @Schema(description = "菜单类型")
    private MenuTypeEnum menuType;
    //菜单图标
    @Schema(description = "菜单图标")
    private String menuIcon;
    //菜单路由
    @Schema(description = "菜单路由")
    private String menuRoute;
    //菜单权限
    @Schema(description = "菜单权限标识")
    private String menuPower;

    @Schema(description = "子菜单")
    private List<LuMenuVO> childMenus;
    //上级id
    @JSONField(serialize = false)
    private transient String fatherId;

}
